﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Student
    {
        public static string TeacherName { get; set; }
       public string Studentname { get; set; }

        public Student()
        {

            TeacherName = "唐僧";
        }
        public Student(string Studentname) {
            TeacherName = "唐僧";
            this.Studentname = Studentname  ;
        }
        public  void Test() {
            Console.WriteLine("大家好我叫{0}，我的老师叫{1}",this.Studentname,TeacherName);
        }
        public static void Test1()
        {

            TeacherName = "嫦娥姐姐";
        }
    }
}
